﻿// JavaScript Document
	
MPT.Config['default_avatar_http'] = MPT.Config['static_http'] + '/css/default_avatar.jpg';

// CDN
MPT.Config['product_img_http'] = MPT.Config['static_http'] + '/productimg';

MPT.Config['sta_css_lib_http'] = MPT.Config['static_http'] + '/css/lib';
MPT.Config['sta_css_res_http'] = MPT.Config['static_http'] + '/css/res';

MPT.Config['sta_js_lib_http'] = MPT.Config['static_http'] + '/js/lib';
MPT.Config['sta_js_res_http'] = MPT.Config['static_http'] + '/js/res';
MPT.Config['sta_js_tpl_http'] = MPT.Config['static_http'] + '/js/tpl';

MPT.Config['global_ctx'] = "";
MPT.Config['global_images_path'] = MPT.Config['static_http'] + '/css/res/img/';
MPT.Config['global_faces_path'] = MPT.Config['static_http'] + '/css/res/img/f';

//MPT.Config= {
//	"avatar_http" : "http://sq.shumenol.com",
//	 
//	"global_gname" : "蜀门",
//	"global_icon_path" : "http://res.shumenol.dev/dev/css/res/websgs/img/icons",
//	
//	"shop_v2_res" : "http://res.shumenol.dev/shop/dev",
//	"shop_http" : "http://sq.shumenol.dev/shop",
//	"sq_http" : "http://sq.shumenol.dev",
//	
//	"product_image" : "http://res.shumenol.dev/productimg",
//	
//	"res_http" : "http://res.shumenol.dev",
//	"res_lib_http" : "http://res.shumenol.dev/dev/js/lib",
//	"res_websgs_http" : "http://res.shumenol.dev/dev/js/res/websgs",

//	"game_home_path" :"http://res.shumenol.dev/game"
//};


MPT.Config["url"] = {

    "index": MPT.Config['sq_http'] + '/#!/index',
    "myspace": MPT.Config['sq_http'] + '/#!/myspace',
    "space": MPT.Config['sq_http'] + '/#!/space',
    "friend": MPT.Config['sq_http'] + '/#!/friend',
    "follow": MPT.Config['sq_http'] + '/#!/follow',
    "guide_info": MPT.Config['sq_http'] + '/#!/guide/setInfo'
};

MPT.Config["hash"] = {

    "myspace": '#!/myspace',
    "uspace": '#!/uspace/index',
    "friend": '#!/friend',
    "follow": '#!/friend/follow',
    "fan": '#!/friend/fan',
    "u_friend": '#!/ufriend/index/',
    "u_follow": '#!/ufriend/follow/',
    "u_fan": '#!/ufriend/fan/',
    "guide_info": '#!/guide/setInfo',
    "guide_avatar": '#!/guide/setAvatar',
    "visit": '#!/friend/visit',
    "topic": '#!/topic/index',
    "find": '#!/friend/find'
};

MPT.Config["myinfo"] = {
    // 我的昵称
    "nickname": "",
    // 账号
    "account": "",
    // 我的ID
    "userid": 7,
    //星座
    "constellation": "{0=请选择星座, 1=白羊座, 2=金牛座, 3=双子座, 4=巨蟹座, 5=狮子座, 6=处女座, 7=天秤座, 8=天蝎座, 9=射手座, 10=魔羯座, 11=水瓶座, 12=双鱼座}",

    "allFriendGID": -1,

    "unsortFriendGID": -1,

    "allFollowGID": -1,

    "unsortFollowGID": -1,

    "followMeGID": -1,

    "myFollowGID": -1,

    "eachFollowGID": -1
};

MPT.Config["interface"] = {

    "findBlogByGID": MPT.Config.global_ctx + "/weibo/findBlogByGID",

    "microBlogPublish": MPT.Config.global_ctx + "/weibo/publish",

    "atMySpaceTrends": MPT.Config.global_ctx + "/weibo/atMySpaceTrends",

    "mySpaceTrends": MPT.Config.global_ctx + "/weibo/mySpaceTrends",

    "findFriendGroups": MPT.Config.global_ctx + "/rel/findFriendGroupsWithOutCount",

    "findFollowGroups": MPT.Config.global_ctx + "/rel/findFollowGroupsWithOutCount",

    "microblogIndex1": MPT.Config.global_ctx + "/report/microblogIndex/microblogIndex1.html",

    "findAtFriend": MPT.Config.global_ctx + "/weibo/findAtFriend",

    "hotTop": MPT.Config.global_ctx + "/weibo/hotTop",

    "comment": MPT.Config.global_ctx + "/weibo/comment",

    "findPerson": MPT.Config.global_ctx + "/rel/findPerson",

    "findVisitRecords": MPT.Config.global_ctx + "/rel/findVisitRecords",

    "topic1": MPT.Config.global_ctx + "/report/topic/topic1.html",

    "listen": MPT.Config.global_ctx + "/weibo/listen",

    "getgiftCount": MPT.Config.global_ctx + "/user/getgiftCount",

    "getSysMsgCount": MPT.Config.global_ctx + "/msg/getSysMsgCount",

    "getUserPanelInfo": MPT.Config.global_ctx + "/user/findUserInfo",

    "register": MPT.Config.global_ctx + "/auth/register",

    "modifyUserInfo": MPT.Config.global_ctx + "/user/modifyUserInfo",

    "transBlog": MPT.Config.global_ctx + "/weibo/transBlog",

    "findByProvice": MPT.Config.global_ctx + "/user/findInterestingByProvice",

    "batchSendMessage": MPT.Config.global_ctx + "/msg/batchSendMessage",

    "findFriendGroupsWithCount": MPT.Config.global_ctx + "/rel/findFriendGroupsWithCount",

    "deleteFriendGroup": MPT.Config.global_ctx + "/rel/deleteFriendGroup",

    "addFriendGroup": MPT.Config.global_ctx + "/rel/addFriendGroup",

    "shieldFriend": MPT.Config.global_ctx + "/rel/shieldFriend",
    
    "findTitle": MPT.Config.global_ctx + "/user/findtitle",//查询已设置过的称号接口
    
    "findAllTitle": MPT.Config.global_ctx + "/user/findAllTitle",//查询用户所有的称号接口
    
    "findAllArea": MPT.Config.global_ctx + "/user/findAllArea", //查询用户所有的大区
    
    "saveUserTitle": MPT.Config.global_ctx +"/user/saveUserTitle", //保存用户称号
    
    "modifyFriendGroup": MPT.Config.global_ctx + "/rel/modifyFriendGroupName",

    "shieldFriend": MPT.Config.global_ctx + "/rel/shieldFriend",

    "deleteFriend": MPT.Config.global_ctx + "/rel/deleteFriend",
    
    "moveFriendGroup": MPT.Config.global_ctx + "/rel/moveFriendGroup",
    
    "findPassport": MPT.Config.global_ctx + "/user/passportInfo",//查询护照
    
    "findUserData": MPT.Config.global_ctx + "/user/findUserData" //查询个人资料的详细信息

};